import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import VueAxios from 'vue-axios'
import axios from 'axios'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import Vant from 'vant';
import 'vant/lib/index.css';
import { Toast } from 'vant';
import { Icon } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Sticky } from 'vant';
import { ActionBar, ActionBarIcon, ActionBarButton } from 'vant';
import { Skeleton } from 'vant';
createApp(App).use(Skeleton).use(Toast).use(ActionBarButton).use(ActionBarIcon).use(ActionBar).use(Sticky).use(SwipeItem).use(Swipe).use(Icon).use(Vant).use(store).use(ElementPlus).use(router).use(VueAxios,axios).mount('#app')
axios.defaults.baseURL="/api";
// Vue.prototype.$host = 'http://localhost:8087'